// /ds/agent/add

import request from "@/utils/request";
/**
 * 新增区域代理
 * @param {*} query
 * @returns
 */
export function agentAdd(query) {
  return request({
    url: "/ds/agentCon/add",
    method: "get",
    params: query,
  });
}
/**
 *查询区域代理列表
 * @param {*} query
 * @returns
 */
export function agentList(query) {
  return request({
    url: "/ds/agentCon/list",
    method: "get",
    params: query,
  });
}
/**
 * 查询线下动态比例列表
 * @param {*} query
 * @returns
 */
export function dynamicRatioList(query) {
  return request({
    url: "/ds/dynamicRatio/list",
    method: "get",
    params: query,
  });
}
/**
 * 修改线下动态比例
 * @param {*} query
 * @returns
 */
export function dynamicRatioEdit(query) {
  return request({
    url: "/ds/dynamicRatio/edit",
    method: "get",
    params: query,
  });
}
/**
 * 查询用户szx/绿色积分变动记录列表
 * @param {*} query
 * @returns
 */
export function szxRecordList(query) {
  return request({
    url: "/ds/szxRecord/list",
    method: "get",
    params: query,
  });
}
